name = input("请输入你的名字：")
with open("guest.txt","w+",encoding="utf_8") as guest:
    guest.write(name)